Skip to content

Tune stale issue and PR automation to reduce aggressive closures#1311

Merged
aaronpowell merged 1 commit into
mainfrom
copilot/improve-stale-issue-workflow
May 14, 2026
Merged

Tune stale issue and PR automation to reduce aggressive closures#1311
aaronpowell merged 1 commit into
mainfrom
copilot/improve-stale-issue-workflow

Conversation

Copilot AI commented May 12, 2026

Copy link
Copy Markdown
Contributor

Summary

Adjust stale automation to reduce overly aggressive stale marking and closure of issues/PRs.

Changes

  • Updated /home/runner/work/Aspire/Aspire/.github/workflows/stale-issues.yml to:
    • Prevent overlap between standard and Question/Resolved handling
    • Use any-of-issue-labels for Question/Resolved logic
    • Increase stale/close windows for targeted policies
    • Exempt draft PRs, assigned items, and items with milestones
    • Align stale/close messaging with new timing
  • Updated /home/runner/work/Aspire/Aspire/.github/workflows/remove-stale-label.yml to remove the temporary debug job while preserving /stale-extend behavior.

Validation

  • Workflow YAML parsing passed for updated files.
  • Secret scan passed (no secrets found).
  • Parallel validation passed:
    • Code Review: 1 informational comment reviewed and intentionally retained behavior.
    • CodeQL: 0 alerts.

Co-authored-by: aaronpowell <434140+aaronpowell@users.noreply.github.com>
Copilot AI requested a review from aaronpowell May 12, 2026 01:20
@aaronpowell aaronpowell marked this pull request as ready for review May 14, 2026 06:05
Copilot AI review requested due to automatic review settings May 14, 2026 06:05
@aaronpowell aaronpowell merged commit aae485d into main May 14, 2026
4 checks passed
@aaronpowell aaronpowell deleted the copilot/improve-stale-issue-workflow branch May 14, 2026 06:05

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR tunes GitHub stale automation to make issue and PR closures less aggressive and removes a temporary debug job from stale-label extension handling.

Changes:

  • Expands stale/close windows for targeted stale policies.
  • Exempts assigned items, milestone items, and draft PRs where applicable.
  • Removes the debug job from /stale-extend workflow while keeping label removal behavior.
Show a summary per file
File Description
.github/workflows/stale-issues.yml Updates stale bot policies, exemptions, filters, and messaging.
.github/workflows/remove-stale-label.yml Removes temporary debug output from the stale extension workflow.

Copilot's findings

  • Files reviewed: 2/2 changed files
  • Comments generated: 1

Comment on lines +50 to +51
days-before-stale: 10
days-before-close: 7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants